Skip to content

docs: quickstart tab lists Linux, Windows, Intel Mac; repoint CLI anchors#290

Merged
inkeep-oss-sync[bot] merged 2 commits into
mainfrom
copybara/sync
Jun 25, 2026
Merged

docs: quickstart tab lists Linux, Windows, Intel Mac; repoint CLI anchors#290
inkeep-oss-sync[bot] merged 2 commits into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

No description provided.

nick-inkeep and others added 2 commits June 25, 2026 22:18
…hors (#2147)

Quickstart Web app tab label -> 'Web app (Linux, Windows, Intel Mac)', which shifts its deep-link anchor to #ok-install-web-app-linux-windows-intel-mac. Repointed all 5 CLI/install links (hero, CTA, mcp-install, packages/cli README, overlay README) to the new anchor and updated the tabs.test.ts assertion that pins it. Unit test green confirms the slug.

GitOrigin-RevId: 614cd822e6146330ba819b82d9f2577729b416a5
…hors (#2140)

* fix(open-knowledge docs): teach validate-link about tab deep-link anchors

The `<Tabs updateAnchor>` machinery (src/components/tabs.tsx) writes
`#${composeTabId(label, groupId)}` per tab, but validate-link only derived
valid `#fragments` from `getTableOfContents` (headings). So any link to a tab
anchor — e.g. overview.mdx → `/docs/get-started/quickstart#ok-install-web-app-linux-intel-mac`
(added in #2132) — was false-flagged as `invalid-fragment`, turning the docs
build red on main and every open PR.

Register tab anchors into each page's valid hash set by parsing `<Tabs
items={[...]}>` and composing ids through the exported `composeTabId` — the
same single source of truth the runtime uses, so the validator can't drift
from the real anchor slugs.

* docs: drop inert dotAll flag on TABS_OPEN_TAG, fix flag attribution comment

Address PR review: the `s` flag on `TABS_OPEN_TAG` was inert — its capture
group is `[^>]*`, which matches newlines regardless of dotAll (dotAll only
affects `.`). The load-bearing `s` is on `ITEMS_ATTR`, whose `.*?` needs it to
cross newlines in a multi-line items array. Removed the no-op flag and
corrected the comment's attribution. Verified empirically and via
`bun run validate-link` (still 0 errors — no behavior change).

---------

GitOrigin-RevId: 0415406e9dc9c7236811b81e530a3f40b3a60eee

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28203916718). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 9994108 into main Jun 25, 2026
1 check passed
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 25, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants